package ru.spb.osll.myfit.examples;
import fit.ColumnFixture;

/**
 * Example of real FIT column fixture
 * @author Anonymous author, Akimushkin V.A.
 *
 */
public class Sum extends ColumnFixture{

	public double firstSummand;
	
	public double secondSummand;
	
	public double result() {
	  return firstSummand+secondSummand;
	}
	
	public static String[] getTestTableTemplates(){
		  String[] templates = {"|Sum|\n|firstSummand|secondSummand|result?|\n|4|4|8|"}; 
		  return templates;
	  }
	}
